package com.kksoft.readcm.objects;

import com.kksoft.readcm.b.h;

public final class y
{
  private final b a;
  private final b b;
  private final Object c;
  private h d;

  public y()
  {
    Object localObject = new Object();
    this.c = localObject;
    b localb1 = new b(2, 2);
    this.a = localb1;
    this.a.a("P");
    b localb2 = new b(1, 1);
    this.b = localb2;
    this.b.a("W");
  }

  public final void a(int paramInt)
  {
    this.a.setCorePoolSize(paramInt);
    this.a.setMaximumPoolSize(paramInt);
    this.b.setCorePoolSize(1);
    this.b.setMaximumPoolSize(1);
  }

  public final void a(h paramh)
  {
    synchronized (this.c)
    {
      this.d = paramh;
      return;
    }
  }

  public final boolean a()
  {
    synchronized (this.c)
    {
      if (this.d == null)
      {
        //s i = 1;
        //s return i;
    	  return true;  
      }
      int i = 0;
    }
	return true;
  }

  public final void b()
  {
    this.a.c();
    this.b.c();
    synchronized (this.c)
    {
      this.d = null;
      return;
    }
  }

  public final b c()
  {
    this.a.a();
    return this.a;
  }

  public final b d()
  {
    this.b.a();
    return this.b;
  }

  public final void e()
  {
    this.a.d();
    this.b.d();
  }

  public final void f()
  {
    this.a.e();
    this.b.e();
  }

  public final void g()
  {
    this.a.g();
    this.b.g();
  }
}

/* Location:           E:\AndroidDecompiler\jd-gui-0.3.3.windows\newrclasses.dex.dex2jar.jar
 * Qualified Name:     com.kksoft.readcm.objects.y
 * JD-Core Version:    0.6.0
 */